package com.zzw.controller;

import com.zzw.bean.Admin;
import com.zzw.bean.Msg;
import com.zzw.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 赵志伟
 * @version 1.0
 */
@SuppressWarnings({"all"})
@Controller
public class AdminController {
    @Autowired
    private AdminService adminService;

    //@RequestMapping("/login")
    //public String login(Admin admin) {
    //    Admin login = adminService.login(admin);
    //    if (login != null) {
    //        return "animate";
    //    } else {
    //        return "login";
    //    }
    //}
}
